﻿<?php
	include_once 'config.inc.php';
	include_once 'inc/mysql.inc.php';
	include_once 'inc/tool.inc.php';
	$link=connect();
	$query="select * from member";
	execute($link,$query);
	if($username = $_POST['username'] && $pwd = md5($_POST['password']))
	{
		if($result = true)
			{
				skip('admin/shop_manager.php','ok','欢迎访问www.wuyichayuan.com');
			}else
			{
				skip('index.php','error','用户名或者密码出错');
				
			}
	}else{
		return false;
	}
?>